package com.zhuangjie.order.pojo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 骑手位置vo
 *
 * @author zhuangjie
 * @date 2024/04/13
 */
@Data
public class RiderLocation {
    @NotNull(message = "骑手id不能为空")
    private Long riderId;
    @NotNull(message = "纬度不能为空")
    private Double latitude;
    @NotNull(message = "经度不能为空")
    private Double longitude;
}
